package com.qn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Ipconfig)实体类
 *
 * @author 黄志源
 * @since 2021-05-25 19:59:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ipconfig implements Serializable {
    private static final long serialVersionUID = -60500851059312504L;
    /**
    * IP编号
    */
    private Integer id;
    /**
    * IP地址
    */
    private String ip;
    /**
    * 子网掩码
    */
    private String dns;
    /**
    * 端口
    */
    private String port;

    public Ipconfig(String ip, String port) {
        this.ip = ip;
        this.port = port;
    }
}